package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Tdaka;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 教职工打卡表 Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-01
 */
public interface TdakaMapper extends BaseMapper<Tdaka> {
    List<Tdaka> getTdakaByTDid(@Param("id") Integer id);

    IPage<Tdaka> getTdakaByPage(Page<Tdaka> page, @Param("tdaka") Tdaka tdaka,
                                    @Param("beginDateScope") String[] beginDateScope);

    List<Tdaka> getTdaka(Integer id);
}
